#pragma once
#include "IMessage.h"

enum	MSG_Type	{	Msg_SpawnTower,	Msg_CreateProjectile,
						Msg_DestroyTower,	Msg_DestroyProjectile,
						Msg_DestroyElemental, Msg_Attack};
class CMessage : public IMessage
{
public:
	// Constructor - requires enumerator
	CMessage( MSG_Type id )		{	m_nMessageID = id;	}

	// Virtual destructor
	virtual ~CMessage( void )	{	/*	do nothing	*/	}
	
	// ID accessor
	virtual MSGID	GetMessageID( void )
	{	return m_nMessageID;	}

protected:
	// message id
	MSGID	m_nMessageID;
};

